package com.clannad.eduorder.feign;

import com.clannad.commonutils.UcenterMember;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-ucenter")
@Component
public interface UcenterClient {
    @GetMapping("/educenter/ucenter/getInfoUc/{id}")
    public UcenterMember getInfo(@PathVariable("id") String id);
}
